/**
 * 
 */
package com.ternnetwork.batch.listener;



import org.springframework.batch.core.ExitStatus;
import org.springframework.batch.core.StepExecution;
import org.springframework.batch.core.StepExecutionListener;




public class SystemOutStepExecutionListener implements StepExecutionListener {



	public void beforeStep(StepExecution stepExecution) {
		
		
		System.out.println("StepExecutionListener.beforeStep()");
	}

	
	public ExitStatus afterStep(StepExecution stepExecution) {
		
		System.out.println("StepExecutionListener.afterStep()"+stepExecution.getWriteCount());
		return stepExecution.getExitStatus();
	}

}
